package com.guangbao.dao;

import java.util.List;

import com.guanbao.entity.User;

/**
 * 用户数据库访问类
 * @author guangbaolianheguangbao-uni
 *
 */
public interface UserDao {
	
	User queryUserByUsername(String username);
	User queryUserById(Integer id);
	int insertUser(User user);
	int updateUser(User user);
	int deleteUser(Integer id);
	
	List<User> queryAllUser();
	
}
